package com.carsite.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 *  原料表
 * @struts.form include-all="false" extends="BaseForm"
 * @hibernate.class table="WT_Material"
 */
public class Material extends BaseObject implements Serializable {
private Integer id;              //id
private String belongDeptID;     //所属部门
private String belongDeptName;   //所属部门名
private String sn;               //原材料编号
private String title;            //名称
private String types;            //原料类型
private String source;           //产地
private String provider;         //供应商
private Double price;            //单价
private String unit;             //计量单位
private String intro;            //简介
private String remark;           //备注
private String inputUser;        //录入人
private Date inputTime;          //录入时间
private Integer status;          //状态
private Integer initNum;         //最少数量-报警
private Integer planNum;         //计划
private Integer factNum;         //实际数量
/**
 * @struts.form-field form-name="MaterialForm"
 * @hibernate.id column="Id" generator-class="increment" unsaved-value="null"
 */
public Integer getId() {
	return id;
}
/**
 * @struts.form-field form-name="MaterialForm"
 *  
 * @hibernate.property column="belongDeptID" not-null="true" length="50"
 */
public String getBelongDeptID() {
	return belongDeptID;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * @struts.validator type="required"
 * @hibernate.property column="belongDeptName" not-null="true" length="50"
 */
public String getBelongDeptName() {
	return belongDeptName;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getSn() {
	return sn;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getTitle() {
	return title;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getTypes() {
	return types;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getSource() {
	return source;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getProvider() {
	return provider;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public Double getPrice() {
	return price;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getUnit() {
	return unit;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getIntro() {
	return intro;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getRemark() {
	return remark;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public String getInputUser() {
	return inputUser;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public Date getInputTime() {
	return inputTime;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　length="50"
 */
public Integer getStatus() {
	return status;
}

/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　
 */
public Integer getFactNum() {
	return factNum;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 　
 */
public Integer getInitNum() {
	return initNum;
}
/**
 * @struts.form-field form-name="MaterialForm"
 * 
 * @hibernate.property 
 */
public Integer getPlanNum() {
	return planNum;
}
public void setId(Integer id) {
	this.id = id;
}
public void setBelongDeptID(String belongDeptID) {
	this.belongDeptID = belongDeptID;
}
public void setSn(String sn) {
	this.sn = sn;
}
public void setTitle(String title) {
	this.title = title;
}
public void setTypes(String types) {
	this.types = types;
}
public void setSource(String source) {
	this.source = source;
}
public void setProvider(String provider) {
	this.provider = provider;
}
public void setPrice(Double price) {
	this.price = price;
}
public void setUnit(String unit) {
	this.unit = unit;
}
public void setIntro(String intro) {
	this.intro = intro;
}
public void setFactNum(Integer factNum) {
	this.factNum = factNum;
}
public void setInitNum(Integer initNum) {
	this.initNum = initNum;
}
public void setPlanNum(Integer planNum) {
	this.planNum = planNum;
}
public void setRemark(String remark) {
	this.remark = remark;
}
public void setInputUser(String inputUser) {
	this.inputUser = inputUser;
}
public void setInputTime(Date inputTime) {
	this.inputTime = inputTime;
}
public void setStatus(Integer status) {
	this.status = status;
}

public void setBelongDeptName(String belongDeptName) {
	this.belongDeptName = belongDeptName;
}
@Override
public boolean equals(Object o) {
	// TODO Auto-generated method stub
	return false;
}
@Override
public int hashCode() {
	// TODO Auto-generated method stub
	return 0;
}
@Override
public String toString() {
	// TODO Auto-generated method stub
	return null;
}




}
